<template>
  <div class="period">
    <el-card class="box-card">
      <el-form :inline="true" :model="formInline" class="demo-form-inline">
        <el-input
          v-model="formInline.user"
          placeholder="质保期"
          style="width: 500px"
        ></el-input>
        <el-form-item>
          <el-button type="primary" @click="onSubmit">查询</el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      formInline: {
        user: "",
      },
    };
  },
  methods: {
    onSubmit() {},
  },
};
</script>

<style scoped>
.period {
  width: 100%;
  height: 80%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.box-card {
  width: 800px;
}
/* .demo-form-inline {
  margin: auto;
  line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
} */
</style>